package JavaCode;

import java.util.Arrays;
import java.util.Scanner;

/**
 * @Author Kechelle
 * @Date 2020/9/12 21:48
 * @Version 1.0
 */
public class Test4 {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        String str = scanner.next();
        System.out.println(function(str));
    }

    public static String function(String str){
        StringBuffer sb = new StringBuffer();
        char[] chars = str.toCharArray();
        Arrays.sort(chars);
        String left = "";
        String right = "";
        for(char c:chars){
            if (c>='0'&&c<='9'){
                left = left + c;
            }else {
                right = right + c;
            }
        }
        return sb.append(right).append(left).toString();
    }
}
